package com.jsh.erp.datasource.mappers;

import com.jsh.erp.datasource.entities.RetailRecord;
import com.jsh.erp.datasource.entities.RetailRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RetailRecordMapper {
    long countByExample(RetailRecordExample example);

    int deleteByExample(RetailRecordExample example);

    int deleteByPrimaryKey(String id);

    int insert(RetailRecord record);

    int insertSelective(RetailRecord record);

    List<RetailRecord> selectByExample(RetailRecordExample example);

    RetailRecord selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") RetailRecord record, @Param("example") RetailRecordExample example);

    int updateByExample(@Param("record") RetailRecord record, @Param("example") RetailRecordExample example);

    int updateByPrimaryKeySelective(RetailRecord record);

    int updateByPrimaryKey(RetailRecord record);
}